package com.icookie.shuatim.api.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuatim.model.wechat.Record;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author : issuser ✌️
 * @date : 2019/4/22 10:51
 */
public interface RecordMapper extends BaseMapper<Record> {

    @MapKey("sort")
    Map<String, Record> queryRecord(@Param("pid") Integer pid, @Param("uid") long uid);
}
